Dynomotion

Group: DynoMotion Message: 11196 From: bknighton28 Date: 3/11/2015
Subject: improving Mach dro resolution reported by kflop
I just got a gantry mill working in microstepping mode. one turn of the motor is about 1 inch. it's 50*(pi/3.2) snapamp steps per inch. The resolution on the motors is good because of the way snapamp drives the motors but the number reported in the mach3 dro boxes is course. Is there a way to accurately display the motors postion?
also, I'm used to using snapamp/mach3 with servos and it gets a continuously updated dro position during axis moves. With the steppers it is only reporting the position when the move is complete. can it be made continuous or is that data only possible with encoders?
Group: DynoMotion Message: 11198 From: Tom Kerekes Date: 3/11/2015
Subject: Re: improving Mach dro resolution reported by kflop
Hi,

You are correct.  To my dismay the DRO values that we are required to set in the mach3 Plugin are integer "steps" even though the commanded motions and such are provided to us as floating point positions (with fractions allowed).

I think a solution may be to specify an invDistPerCycle of 0.001 instead of 1.  This will require a commanded motion of 1000X units more in KFLOP to achieve the same number of stepper cycles and the same physical distance.

You will then need to multiply KFLOPs allowed Velocity, Acceleration, and Jerk values by 1000X.  Also change Mach3 "motor tuning" resolutions by 1000X.

I can't think of a reason why the DRO's wouldn't update continuously.  The DROs should match the KFLOP commanded Destinations regardless of whether KFLOP is open loop or has encoder feedback.  Are you looking at the Main DROs?  Or the Encoder DROs?

HTH
Regards
TK

Group: DynoMotion Message: 11202 From: bknighton28 Date: 3/11/2015
Subject: Re: improving Mach dro resolution reported by kflop
it's the Dro in the main screen of mach. Is there a way to select the data source? It is updated when I jog but during commanded moves it waits until the move is complete.
I have never been clear about the effects of kflops velocity, acceleration and jerk compared to the settings in mach.
Group: DynoMotion Message: 11206 From: Tom Kerekes Date: 3/12/2015
Subject: Re: improving Mach dro resolution reported by kflop
Hi,

No there is no selection for data source.  Mach3 normally calls our plugin ~10 times per second and we read the Axis Destinations and pass the result to Mach3 which changes the Mach3 DROs.  I can't think of why that wouldn't update.  

Please run KMotion.exe and observe the Axis Screen.  Do the Destination change continuously while the move is occurring?

Any messages on the KMotion.exe Console Screen?

Maybe the Mach3 GUI is not updating.  Does the Mach3 Screen otherwise seem to update (ie time and so forth)?

When running GCode with multiple moves does the position update after each move?  Or only at the end?

What Version of Mach3 and KMotion are you running?  Could you post your Mach3 XML file?

Regards
TK

Group: DynoMotion Message: 11217 From: bknighton28 Date: 3/14/2015
Subject: Re: improving Mach dro resolution reported by kflop
I updated to the latest motion. the dro updates in all modes.
the idea worked well for getting the resolution up in the dro too.